<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<title>我的易安</title>
		<%@ include file="/user_comm.jsp"%>
	</head>
	<body>
		<%@ include file="/user_top.jsp"%>
		<div class="realCer">
			<!--导航-->
			<!--主体部分start-->
			<div class="realMain clearfix mt10">
				<%@ include file="/user_menu.jsp"%>
				<div class="realRight ml10 Buyer">
					<!--左侧start-->
					<div class="realR_left l-myzbj-main">
						<!-- 交易看板Begin -->
						<div class="mybox">
							<div class="mytit">
								业务单提醒
							</div>
							<div class="con h_lc l-myzbj-main-board clearfix"
								style="width: 558px;">
								<span>我的业务单：</span>
								<ul>
									<li>
										<a href="<%=request.getContextPath()%>/busiInfo_list.do?t=2">进行中</a>
										(<s:property value="#request.count2" />)
										<a class="ml15"
											href="<%=request.getContextPath()%>/busiInfo_list.do?t=3">中途开封</a>
										(<s:property value="#request.count3" />)
										<a class="ml15"
											href="<%=request.getContextPath()%>/busiInfo_list.do?t=5">代收审核</a>
										(<s:property value="#request.count5" />)
									</li>
								</ul>
							</div>
						</div>
						<!-- 交易看板End -->

						<!-- 我是社区Begin -->
						<div class="mybox mt10">
							<div class="mytit l-myzbj-forum-title l-myzbj-forum-title-more">
								我的社区
							</div>
							<div class="con hotShop clearfix l-myzbj-top" id="l-myzbj-top2">
								<div class="l-myzbj-forum-title at_tab_t">
									<a class="l-myzbj-forum-title-select at_tab_i at_current"><u>易安公告</u>
									</a>
									<a class="at_tab_i"><u>业界动态</u>
									</a>
									<a class="at_tab_i"><u>知&nbsp;识&nbsp;库</u>
									</a>
									<!-- 
									<s:if test='"zh_CN"==getLangStr()'>
										<a class="at_tab_i"><u>报&nbsp;关&nbsp;行</u>	</a>
									</s:if>
									 -->
								</div>
								<div class="at_tab_c">
									<div class="at_tab_l" style="display: block;">
										<ul>
											<s:iterator value="#request.noticeList" id="ca"> <!-- 易安公告 -->
											<li>
												·
												<a target="_blank"
													href="<s:url action="page"><s:param name="id"><s:property value="#ca.id"/></s:param></s:url>">
														<s:property value="#ca.title" /> </a>
											</li>
											</s:iterator>
										</ul>
									</div>
									<div class="at_tab_l" style="display: none;">
										<ul>
											<s:iterator value="#request.yjdtList" id="ca"> <!-- 业界动态 -->
											<li>
												·
												<a target="_blank"
													href="<s:url action="page"><s:param name="id"><s:property value="#ca.id"/></s:param></s:url>">
														<s:property value="#ca.title" /> </a>
											</li>
											</s:iterator>
										</ul>
									</div>
									<div class="at_tab_l" style="display: none;">
										<ul>
											<s:iterator value="#request.zskList" id="ca"> <!-- 知识库 -->
											<li>
												·
												<a target="_blank"
													href="<s:url action="page"><s:param name="id"><s:property value="#ca.id"/></s:param></s:url>">
														<s:property value="#ca.title" /> </a>
											</li>
											</s:iterator>
										</ul>
									</div>
									
									<!-- 
									<s:if test='"zh_CN"==getLangStr()'>
									<div class="at_tab_l" style="display: none;">
										<ul>
											<s:iterator value="#request.agentList" id="ca">  报关行 
											<li>
												<a target="_blank"
													href="<s:url action="agent"></s:url>">
														<s:property value="#ca.companyName" /> </a>
											</li>
											</s:iterator>
										</ul>
									</div>
									</s:if>
									-->
									 
								</div>
							</div>
							<!-- 我是社区End -->
							<!--------------------我是快乐的分割线-------------------------------->
						</div>
						<!--大学堂-->
						<div class="mybox mt10">
							<div class="mytit l-myzbj-toolBox-title">
								<a class="fr" href="<%=request.getContextPath()%>/pages.do?t=10"
									target="_blank">帮助中心>></a>买家大学堂
							</div>
							<div class="con">
								<ul class="dxt_con clearfix ml15">
									<li class="dxtbox">
										<p class="bb1">
											<em class="d5"></em><a
												href="http://help.zhubajie.com/main-study.html?p=c_1_1">购买服务</a>
										</p>
										<p class="bb1">
											<em class="d6"></em><a
												href="http://help.zhubajie.com/main-study.html?p=a_1_1">发布任务</a>
										</p>
										<p class="last">
											<em class="d7"></em><a
												href="http://help.zhubajie.com/main-study.html?p=b_1_1">直接交易</a>
										</p>
									</li>
									<li class="arrow"></li>
									<li class="dxtbox dxt_txt mt15">
										<em class="d8 mt5"></em><span class="mt5">验收确认</span>
									</li>
									<li class="arrow"></li>
									<li class="dxtbox dxt_txt mt15">
										<em class="d9 mt5"></em><span class="mt5"><a
											href="http://help.zhubajie.com/main-study.html?p=w_1_3">付款
												评价</a>
										</span>
									</li>
								</ul>
								<ul class="clearfix dxt_list mt15">
									<li>
										·
										<a href="http://help.zhubajie.com/237.html" target="_blank">什么是悬赏任务？</a>
									</li>
									<li>
										·
										<a href="http://help.zhubajie.com/238.html" target="_blank">什么是招标任务？</a>
									</li>
									<li>
										·
										<a href="http://help.zhubajie.com/464.html" target="_blank">如何让更多参与你的任务</a>
									</li>
									<li>
										·
										<a href="http://help.zhubajie.com/495.html" target="_blank">如何让我的任务完成效果更好</a>
									</li>
								</ul>
							</div>
						</div>
						<!--大学掌-->
					</div>
					<!--右侧-->
					<div class="realR_left l-myzbj-sidebar" style="float: right;">
						<!--			<div class="mybox mb10">
				<div class="l-myzbj-sidebar-title">热门活动</div>
				<div class="con" >
				<div id="scrol"  style="height:90px;overflow:hidden;">
				  
				  <div class="at_scroll_c">
				  <a style="display:block;height:90px;overflow:hidden;" href="" target="_blank"><img src="http://p4.zbjimg.com/task/2011-10/08/pub/4e8fb0b388338.jpg" title="xxxxx" /></a>
				  </div>
				  <div class="at_scroll_c">
				  <a style="display:block;height:90px;overflow:hidden;" href="" target="_blank"><img src="http://p4.zbjimg.com/task/2011-10/08/pub/4e8fb0b388338.jpg" title="xxxxx" /></a>
				  </div>
				  <div class="at_scroll_c">
				  <a style="display:block;height:90px;overflow:hidden;" href="" target="_blank"><img src="http://p4.zbjimg.com/task/2011-10/08/pub/4e8fb0b388338.jpg" title="xxxxx" /></a>
				  </div>				  				  
				</div>
				</div>
				</div>			
			<script src="http://task.zhubajie.com/ad?location_id=17"></script> 
			-->
						<!-- 
			<script>			
				m_shift($('#scrol'),$('#scrol .at_scroll_c',''));
			</script> 
			 -->
						<div class="mybox mb10">
							<div class="l-myzbj-sidebar-title">
								<a href="<s:url action="product_view"></s:url>"
									class="l-myzbj-sidebar-title-more">详细>></a>
									<s:if test="#request.sid==2">
										防伪条码
									</s:if>
									<s:else>
										封条产品
									</s:else>
							</div>
							<div class="con">
								<ul class="b_entry clearfix fc6">
									<li
										style="height: 130px; overflow: hidden; margin-bottom: 8px;">
										<a href="<s:url action="product_view"><s:param name="id"><s:property value="#request.product.id"/></s:param></s:url>"
											title="使用新型高保封，货运更安全"> <img
												src="<%=request.getContextPath()%>/upload/seal/s_${request.product.image1}"
												width="170" height="130" border="0" /> </a>
									</li>
									<li>
										·新型专得封条产品
									</li>
									<li>
										·保密性更高，交易更安全
									</li>
								</ul>
							</div>
						</div>
						<div class="mybox mb10">
							<div class="l-myzbj-sidebar-title">
								意见建议
							</div>
							<div class="con feedMy">
								<textarea class="" id="feedCont"
									style="width: 155px; height: 70px; color: #CCC;"
									onclick="if(this.innerHTML=='用得满意么？有话您直说！')this.innerHTML='';"
									onblur="if(this.innerHTML=='')this.innerHTML='用得满意么？有话您直说！';">用得满意么？有话您直说！</textarea>
								<input type="button" value="提交" class="mt5"
									onclick="feedCheck();" />
							</div>
						</div>

					</div>
				</div>
				<!--主体部分-->
			</div>
			<!--底部 start-->
		</div>
		<%@ include file="/user_button.jsp"%>
		<script type="text/javascript" src="/message/getcount"></script>
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/count.js"></script>
		<script src="<%=request.getContextPath()%>/js/auntion.login.js"
			language="javascript" type="text/javascript"></script>
		<script src="<%=request.getContextPath()%>/js/zhuquan.js?v=2"
			language="JavaScript" type="text/javascript"></script>
		<!--底部end-->

		<script>
// tab 切换，不能删除
$("#l-myzbj-top2").find(".at_tab_i").mouseover(function(){$("#l-myzbj-top2").find(".at_tab_i").removeClass("at_currentprev");$(this).prev("a").addClass("at_currentprev")});
new at_select("at_select");
var tb = new at_tab("pCenter");
setTimeout(function(){
 
new at_scroll('buyer_ad','y');
},1000);
</script>
		<script>
//提交意见
function feedCheck() {
	var textarea = $("#feedCont");
	var val = textarea.val().replace(/\s*/,"");
	if(val==''||val=='用得满意么？有话您直说！')
	{
		at_infoTrace.show("您忘记填写您的意见和建议了，写点什么再提交吧！","i");
	}
	else
	{
		var params = {message:val};
		$.ajax({type: "POST",
		       url: "ajaxUser_addMessage.do",
		       data: params,
		       async: false,
		       success: function(result){
				 if(result.retcode=="0000"){
				  	at_infoTrace.show("提交成功，感谢您的意见和建议！","o");
					textarea.val('');
				 }
			  }
			},"json");
	}
}
function scrollList(idBox,num){
	$(idBox).find(".last").click(function(){
		var i=-num*($(this).parents(idBox).find(".contbox").find(".boxList").length-1);
		if(idBox=="#serverList"){
	 		i=-num*($(this).parents(idBox).find(".contbox").find(".boxList").length/2-1);;
		}
		if(parseInt($(this).prev(".scrollBox").find(".contbox").css("margin-left"))>i){
			$(this).prev(".scrollBox").find(".contbox").animate({
			marginLeft:parseInt($(this).prev(".scrollBox").find(".contbox").css("margin-left"))-num
		});
	}
	});
 
	$(idBox).find(".first").click(function(){
		if(parseInt($(this).next(".scrollBox").find(".contbox").css("margin-left"))<0){
			$(this).next(".scrollBox").find(".contbox").animate({
				marginLeft:parseInt($(this).next(".scrollBox").find(".contbox").css("margin-left"))+num
			});
		}
	});
}
scrollList("#serverList",330)
scrollList("#at-scroll-product",316)

new at_tab("l-myzbj-top");
new at_tab("l-myzbj-top2");
</script>

	</body>
</html>
